package com.zb.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * @ClassName TbUserModel
 * @Description 模型对象
 * @Author xm
 * @Date 2025/03/20 15:15
 **/
@Data
    @EqualsAndHashCode(callSuper = false)
@NoArgsConstructor
@AllArgsConstructor
@Builder
@TableName("tb_user")
@ApiModel(value = "TbUserModel", description = "")
public class TbUserModel implements Serializable{

private static final long serialVersionUID=1L;

        @ApiModelProperty(value = "主键ID")
                    @TableId(value = "id", type = IdType.AUTO)
                private Long id;

        @ApiModelProperty(value = "姓名")
        private String nickname;

        private String passwd;

        @ApiModelProperty(value = "邮箱")
        private String email;


        }
